package com.sangmo.fts.clazz.repo;

import com.sangmo.boot.framework.plugin.dataview.spi.jpa.IJpaDataViewRepo;
import com.sangmo.fts.clazz.model.UserClazz;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserClazzRepo extends IJpaDataViewRepo<UserClazz> {

    List<UserClazz> findByUserId(Long userId);

    UserClazz findByUserIdAndClazzId(Long userId, Long clazzId);
}
